home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Frameworks / Extension Shell 1.3 / Sample Extensions / Generic ES Handler ƒ / ES Handler.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-04-04  |  1.7 KB  |  52 lines  |  [TEXT/R*ch]

  1. /*    NAME:
  2.         ES Handler.h
  3.  
  4.     WRITTEN BY:
  5.         Dair Grant
  6.                 
  7.     DESCRIPTION:
  8.         Header file for ES Handler.c
  9.  
  10.     NOTES:
  11.         •    The defines below are for a generic Extension. You will need to alter
  12.             them for your Extension. You will have to change:
  13.             
  14.                 •    The indexes, names, and contents of the error strings
  15.                 
  16.                 •    The details for the disabled icons
  17.                 
  18.                 •    The details for the enabled icons
  19.  
  20.     ___________________________________________________________________________
  21. */
  22. #ifndef __ESHANDLER__
  23. #define __ESHANDLER__
  24. //=============================================================================
  25. //        Defines                                                                 
  26. //-----------------------------------------------------------------------------
  27. // Notification Manager error strings
  28. #define kErrorStrings                128                            // Resource ID of 'STR#' resource
  29. #define kNeedSystemSeven            1                            // Need System 7 index
  30. #define kUnknownError                2                            // Unknown error index
  31. #define kErrorWithOne                3                            // Error with the 1st code resource
  32. #define kErrorWithTwo                4                            // Error with the 2nd code resource
  33. #define kErrorWithThree                5                            // Error with the 3rd code resource
  34. #define kErrorWithFour                6                            // Error with the 4th code resource
  35. #define kErrorWithFive                7                            // Error with the 5th code resource
  36. #define kErrorWithSix                8                            // Error with the 6th code resource
  37.  
  38.  
  39. // Enabled icons
  40. #define kMyNumEnabledIcons            1                            // Number of enabled icons
  41. #define kEnabledAnimDelay            0                            // Delay for enabled icon(s)
  42. #define kMyFirstEnabledIcon            128                            // First enabled icon
  43.  
  44.  
  45. // Disabled icons
  46. #define kMyNumDisabledIcons            1                            // Number of disabled icons
  47. #define kDisabledAnimDelay            0                            // Delay for disabled icon(s)
  48. #define kMyFirstDisabledIcon         129                            // First disabled icon
  49.  
  50.  
  51. #endif
  52.